//FlyweightFactory.h
#ifndef __FLYWEIGHTFACTORY_H__
#define __FLYWEIGHTFACTORY_H__

#include "flyweight.h"
#include <string>
#include <vector>

class FlyweightFactory
{
public:
    FlyweightFactory();
    ~FlyweightFactory();

    Flyweight* GetFlyweight(const std::string& key);
protected:
private:
    std::vector<Flyweight*> _fly;
};

#endif //~_FLYWEIGHTFACTORY_H_

